/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.personnel.api.vo;

import com.fuyao.cloud.common.data.mybatis.SearchCondition;
import com.fuyao.cloud.common.data.mybatis.SearchOp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 合同信息
 *
 * @author 碎月
 * @date 2022-01-12 15:16:20
 */
@Data
@ApiModel(value = "合同信息")
public class ContractInfoSearchVO {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @SearchCondition
    @ApiModelProperty(value="用户id")
    private Long userInfoId;

    /**
     * 业务单据唯一编码
     */
    @ApiModelProperty(value="业务单据唯一编码")
    private String unid;

    /**
     * 单位名称
     */
    @ApiModelProperty(value="单位名称")
    @SearchCondition(op = SearchOp.LIKE)
    private String deptName;

    /**
     * 姓名
     */
    @ApiModelProperty(value="姓名")
    @SearchCondition(op = SearchOp.LIKE)
    private String name;

    /**
     * 合同编号
     */
    @ApiModelProperty(value="合同编号")
    @SearchCondition(op = SearchOp.LIKE)
    private String contractNo;

    /**
     * 合同开始时间
     */
    @ApiModelProperty(value="合同开始时间")
    @SearchCondition(op = SearchOp.BETWEEN)
    private List<LocalDate> contractStartDate;

    /**
     * 合同结束时间
     */
    @ApiModelProperty(value="合同结束时间")
    @SearchCondition(op = SearchOp.BETWEEN)
    private List<LocalDate> contractEndDate;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String note;

    /**
     * 合同类型
     */
    @ApiModelProperty(value="合同类型")
    @SearchCondition()
    private String type;
}
